<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>店铺优惠券管理页 </title>
<link href="${root}/u/css/main.css" type="text/css" rel="stylesheet" />
<link href="${root}/u/css/memeber.css" type="text/css" rel="stylesheet" />
<link href="${sysResRoot}/front.css" rel="stylesheet" type="text/css"/>
<link href="${base}/res/common/css/jquery.ui.css" rel="stylesheet" type="text/css"/>
<script src="${sysResRoot}/jquery.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
	$("#jvForm").validate();
});

function getTableForm() {
	return document.getElementById('tableForm');
}
</script>
</head>
<body>
[#include "../include/店铺页头顶栏.html"/]
<div class="w1168">
	[#include "店铺中心_导航.html"/]
	<div class="user_right">
		<div class="user_title2">
        店铺优惠券管理表<a href="couponAdd.jspx" class="fr" style="margin-right:5px;">添加</a>
        </div>
    	<div class="clear10"></div>      
        <form id="tableForm" method="post">
        <input type="hidden" name="pageNo" value="${pageNo!}"/>  
        <table width="100%" border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#cccccc" style=" font-family:Arial,宋体;">
        <tr>
        <td height="30" align="center" bgcolor="#f0f0f0">名称</td>
        <td width="200" align="center" bgcolor="#f0f0f0">优惠券值</td>
        <td width="150" align="center" bgcolor="#f0f0f0">优惠起始时间</td>
        <td width="150" align="center" bgcolor="#f0f0f0">优惠结束时间</td>                      
        <td width="150" align="center" bgcolor="#f0f0f0">操作</td>
        </tr>
        </table>  
         
        [@coupon_page storeId=store.id count="5" pageNo=pageNo]                              
        [#if tag_list?size gt 0]
        <table cellspacing="1" cellpadding="5" width="100%" border="0">
        [#list tag_list as coupon]
        <tr>
        <td height="50"  align="center">${coupon.couponName!}</td>
        <td width="200"  align="center">${coupon.couponPrice!}</td>
        <td width="150"  align="center">${coupon.couponTime!}</td>
        <td width="150"  align="center">${coupon.couponEndTime!}</td>
        <td width="150"  align="center"><a href="couponUpdate.jspx?id=${coupon.id}&pageNo=${pageNo!}">修改</a> | <a href="couponDelete.jspx?id=${coupon.id}&pageNo=${pageNo!}">删除</a></td>                
        </tr> 
        <tr>
        <td height="1" colspan="5" bgcolor="#e7e7e7"></td>
        </tr>                     
        [/#list]                   
        [#else]
        <div class="zwsj">暂无数据</div>
        [/#if]
        </table>                  
        <div class="pageNumber">[@pagination_style sysPage='3'/]</div>  
        [/@coupon_page]         
        </form>
	</div>
	<div class="clear20"></div>
</div>
[#include "../include/页脚信息栏.html"/]
</body>
</html>